package com.jiezhuo.service;

import com.jiezhuo.entity.IotSensorInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiezhuo.entity.SensorVideoRelation;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-19
 */
public interface IotSensorInfoService extends IService<IotSensorInfo> {

    List<Map<String,Object>> operationMonitoringById(Integer id);

    List<Map<String,Object>> ruleConfiguration(Integer id);

    Map<String,Object> sensorInfo(Integer id);

    List<Map<String,Object>> triggerInfo(Integer id);

    List<Map<String,Object>> getSensorByNodeId(Integer id);

    int sensorBindingVideo(SensorVideoRelation sensorVideoRelation);

}
